// SplitPanel.h: interface for the SplitPanel class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SPLITPANEL_H__DAA2BD43_677C_4372_AD34_0D30DF38C7FD__INCLUDED_)
#define AFX_SPLITPANEL_H__DAA2BD43_677C_4372_AD34_0D30DF38C7FD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "awtwin.h"

class AWTWIN_EXPORT SplitPanel : public AWTContainer
{
public:
	SplitPanel(int orient);
	virtual ~SplitPanel();

	enum
	{
		horz = 1,
		vert
	};

	virtual CWnd* createComponent();

//	virtual void addNotify();
//	virtual CWnd* getPeer();

	void setPanel1(AWTComponent* cmp)
		{ m_panel1->add("Center", cmp);}
	void setPanel2(AWTComponent* cmp)
		{ m_panel2->add("Center", cmp);}

	void validate() {}


private:
	int m_orient;
//	int m_pane;

	AWTPanel* m_panel1;
	AWTPanel* m_panel2;
};

#endif // !defined(AFX_SPLITPANEL_H__DAA2BD43_677C_4372_AD34_0D30DF38C7FD__INCLUDED_)
